package com.meituan.verintreport.db.dao;

import com.meituan.verintreport.db.dto.EvalsOnFormDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EvalsOnFormMapper {
    int deleteByPrimaryKey(Long evalKey);

    int insert(EvalsOnFormDto record);

    int insertSelective(EvalsOnFormDto record);

    EvalsOnFormDto selectByPrimaryKey(Long evalKey);

    int updateByPrimaryKeySelective(EvalsOnFormDto record);

    int updateByPrimaryKey(EvalsOnFormDto record);

    Long getMaxId();

    Long getMaxIdBeforeDateTime(String endTime);

    String getLastUpdate();

    Integer removeByTime(@Param("startTime") String startTime, @Param("endTime") String endTime);
}